//财务流水
import http from "@/utils/http";
import {EnumAlias} from "@/utils/common";
//分页
export function orderFinanceLogPage(params?: object) {
  return http({
    url: `${EnumAlias.PROJECT}/${EnumAlias.MODULE_MALL}/orderFinanceLog/page`,
    method: "get",
    params
  });
}
//list
export function orderFinanceLogList(params?: object) {
  return http({
    url: `${EnumAlias.PROJECT}/${EnumAlias.MODULE_MALL}/orderFinanceLog/list`,
    method: "get",
    params
  });
}
//详情
export function orderFinanceLogDetail(params?: object) {
  return http({
    url: `${EnumAlias.PROJECT}/${EnumAlias.MODULE_MALL}/orderFinanceLog/detail`,
    method: "get",
    params
  });
}
//删除
export function orderFinanceLogDelete(data?: object) {
  return http({
    url: `${EnumAlias.PROJECT}/${EnumAlias.MODULE_MALL}/orderFinanceLog/delete`,
    method: "post",
    data
  });
}
//创建
export function orderFinanceLogCreate(data?: object) {
  return http({
    url: `${EnumAlias.PROJECT}/${EnumAlias.MODULE_MALL}/orderFinanceLog/create`,
    method: "post",
    data
  });
}
//编辑
export function orderFinanceLogUpdate(data?: object) {
  return http({
    url: `${EnumAlias.PROJECT}/${EnumAlias.MODULE_MALL}/orderFinanceLog/update`,
    method: "post",
    data
  });
}
//获取支付人数
export function getPayUserNum(params?: object) {
  return http({
    url: `${EnumAlias.PROJECT}/${EnumAlias.MODULE_MALL}/orderFinanceLog/getPayUserNum`,
    method: "get",
    params
  });
}
